<?php 
	session_start();
	require_once("Misc/includes.php");
	$masterController = new MasterController();
	$xhtml = $masterController->DoControll();
?>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>PHP2 - Workshop1</title>
	</head>
	<?php echo $xhtml->GetStyle() ?>
	<body id='body<?php if(isset($_GET['type'])){echo $_GET['type'];}?>' style="background-image: url('Assets/Images/bg2.gif'); background-attachment: scroll; background-origin: initial; background-clip: initial; background-color: #fffceb; background-position: 50% 0%; background-repeat: no-repeat; ">
	<div id="container">	
	<div id="fb-root">	
	
		<?php echo $xhtml->GetXhtml() ?>
	</div>
	<footer class='footer'> &copy; Viktor &amp; Jarmo </footer></div>
	<script src="Assets/js/facebook.js" type="text/javascript"></script>
	</body>
</html>